#!/usr/bin/python
# -*- coding:utf-8 -*-
# 
# 
def faulty():
	raise Exception('something is wrong')

def ignore_exception():
	faulty()

def handle_exception():
	try:
		faulty()
	except Exception as e:
		print 'Exception handled'

#ignore_exception()
handle_exception()